package com.xiaotu.code.service.webservice;

import org.springframework.transaction.annotation.Transactional;

@Transactional(rollbackFor = Exception.class)
public class MathServiceClientImpl implements MathServiceClient{
	private MathService service;

	public MathService getService() {
		return service;
	}

	public void setService(MathService service) {
		this.service = service;
	}

	@Override
	public void testWebService() {
		int data=service.add();
		System.out.println("=========="+data+"==========");
	}
}
